/**
 * Created by jerry on 2017/11/13.
 * 角色相关api
 */
import * as API from './'

export default {
  //查询获取user列表(通过page分页)

  qryByPage: params => {
    return API.GET('/role/qryByPage', params)
  },
  // 添加角色
  doAddOrUpdate: params => {
    return API.POST('/role/doAddOrUpdate', params)
  },
  // 删除角色
  doDel: params => {
    return API.DELETE('/role/doDel', params)
  }
}
